package com.tyk.bookstore.front.comment.model.query;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author tyk
 * @description 回复
 */
@Data
public class ReplyAddQuery {

    @Schema(description = "评论ID")
    @NotNull
    private Long commentId;

    @Schema(description = "父级ID")
    @NotNull
    private Long parentId;

    @Schema(description = "父级评论者ID")
    private Long atMemberId;

    @Schema(description = "回复内容")
    @NotBlank
    private String content;
}
